-- GENERATED SPELL FOR [Swamp Talker] --


function spell0_950(pUnit, Event) --@Summon Swamp Spirit,Self--
pUnit:FullCastSpellOnTarget(9636,pUnit)
pUnit:RegisterEvent('Sorts_950', 1500, 1)
end

function Sorts_950(pUnit, Event)
local choix_sorts_950 = math.random(0, 0)
if choix_sorts_950 == 0 then
pUnit:RegisterEvent('spell0_950', 1, 1)
end
end

function mob950_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_950', math.random(1500, 3000), 1)
end

function mob950_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob950_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob950_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(950, 1, 'mob950_Action')
RegisterUnitEvent(950, 2, 'mob950_Leave')
RegisterUnitEvent(950, 3, 'mob950_Kill')
RegisterUnitEvent(950, 4, 'mob950_Die')
